// 按需导入登录接口方法
import { login } from '@/api/Login.js'
import { getMenus } from '@/api/Home.js'
import { getUsers, changeUserState, addUser, editUser, delUser, setUserRole } from '@/api/User.js'
import { getRights, getRightsTree } from '@/api/Rights.js'
import { getRoles, delRoles, postId } from '@/api/Roles.js'
import { getGoodsList,addGoods ,getCateParams,addCateParams,chkEditCateParams,EditCateParams,delCateParams,putCateParams} from '@/api/Cate.js'
// 按需导出所有接口方法
export const loginAPI = login
export const getMenusAPI = getMenus
export const getUsersAPI = getUsers
export const changeUserStateAPI = changeUserState
export const addUserAPI = addUser
export const editUserAPI = editUser
export const delUserAPI = delUser
export const getRightsAPI = getRights
export const getRolesAPI = getRoles
export const delRolesAPI = delRoles
export const getRightsTreeAPI = getRightsTree
export const postIdAPI = postId
export const setUserRoleAPI = setUserRole

export const getGoodsListAPI = getGoodsList
export const addGoodsAPI = addGoods
export const getCateParamsAPI = getCateParams
export const addCateParamsAPI = addCateParams
export const chkEditCateParamsAPI = chkEditCateParams
export const EditCateParamsAPI = EditCateParams
export const delCateParamsAPI = delCateParams
export const putCateParamsAPI = putCateParams

